<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        .container {
            max-width: 1200px;
            margin: auto;
            line-height: 50px;
        }

        header .container {
            display: flex;
            justify-content: space-between;
        }

        header ul {
            display: flex;
        }

        header ul li {
            margin-right: 30px;
        }

        .banner {
            background-color: #00f;
            color: #fff;
            text-align: center;
            padding: 30px 0;
        }

        .banner img {
            width: 90%;
            margin-top: 30px;
        }


        .bggray {
            background-color: #bdc6d1;
            color: #333;
        }


        .num-list ul {
            display: flex;
            flex-wrap: wrap;
            padding: 30px 0;
        }

        .num-list li {
            width: 25%;
            text-align: center;
        }

        .num-list li h3 {
            font-size: 30px;
        }

        .service {
            text-align: center;
        }

        .service ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .service ul li {
            width: 32%;
            line-height: 108px;
            background-color: #ff0;
            margin-top: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service ul li i {
            width: 50px;
            height: 50px;
            background-color: #00f;
            border-radius: 50%;
            margin-right: 10px;
        }






        @media screen and (max-width:768px) {
            header ul {
                position: fixed;
                width: 100%;
                background-color: #000;
                color: #fff;
                top: 50px;
                /* flex-direction: column; */
                display: block;

                height: 0;
                overflow: hidden;
                transition: .3s;
            }

            header label {
                width: 30px;
                height: 30px;
                background-color: #f00;
            }

            header input:checked~ul {
                height: 300px;
            }

            .num-list li {
                width: 50%;
            }

            /* 放两个或者1个都行 */
            .service ul li {
                width: 98%;
            }
        }
    </style>
</head>

<body>

    <!-- 

        PC端导航正常写

        手机上  导航变成了定位

     -->

    <header>
        <div class="container">
            <h1>logo</h1>

            <input type="checkbox" name="" id="a" hidden>
            <label for="a"></label>
            <ul>
                <li>
                    <a href="">home</a>
                </li>
                <li>
                    <a href="">home</a>
                </li>
                <li>
                    <a href="">home</a>
                </li>
                <li>
                    <a href="">home</a>
                </li>
                <li>
                    <a href="">home</a>
                </li>

            </ul>
        </div>
    </header>


    <div class="banner">
        <div class="container">
            <h3>高效专业团队</h3>
            <p>的顶顶顶顶顶的顶顶顶顶顶多多多多多多多</p>
            <img src="../images/201802021749563123.jpg" alt="">
        </div>
    </div>

    <div class="num-list">
        <div class="container">
            <ul>
                <li>
                    <h3>500 <sup>+</sup></h3>
                    <p>满意度</p>
                </li>
                <li>
                    <h3>500 <sup>+</sup></h3>
                    <p>满意度</p>
                </li>
                <li>
                    <h3>500 <sup>+</sup></h3>
                    <p>满意度</p>
                </li>
                <li>
                    <h3>500 <sup>+</sup></h3>
                    <p>满意度</p>
                </li>
            </ul>
        </div>
    </div>


    <div class="banner bggray">
        <div class="container">
            <h3>响应式企业站</h3>
            <p>的顶顶顶顶顶的顶顶顶顶顶多多多多多多多</p>
            <img src="../images/index_02.jpg" alt="">
        </div>
    </div>


    <!-- 服务优势 -->
    <div class="service">
        <div class="container">
            <h3>服务优势</h3>
            <p>顶顶顶顶顶大大大</p>
            <ul>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
                <li>
                    <i></i>
                    <span>支持多屏幕切换</span>
                </li>
            </ul>
        </div>
    </div>

</body>

</html>